// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-8-13

#ifndef __SETTINGPAGECTRL_H_CLIENT_MAIN__
#define __SETTINGPAGECTRL_H_CLIENT_MAIN__

#pragma once
#include <common\ui\pagectrl.h>

class CJoySettingPageCtrl;
class CJoyGameSetting;

//##ModelId=44C4B5DC034F
class CJoySettingPageContainer : public CJoyPageContainer
{
	DECLARE_DYNAMIC(CJoySettingPageContainer)

protected:
	//##ModelId=44C4B5DC035D
    Color   m_cornerColor;
	//##ModelId=44C4B5DC0361
    int     m_cornerSize;
	//##ModelId=44C4B5DC036C
    Color   m_frameColor;

	//##ModelId=44C4B5DC0370
    virtual void CM_LoadSkin(CJoyXmlElement* pSkinElem);
	//##ModelId=44C4B5DC037A
    virtual void CM_Draw(Graphics& graph);
public:
	//##ModelId=44C4B5DC037D
    CJoySettingPageContainer(CJoySettingPageCtrl* pageCtrl);
	//##ModelId=44C4B5DC037F
    virtual ~CJoySettingPageContainer();
public:
    DECLARE_MESSAGE_MAP()
};

//##ModelId=44C4B5DC038A
class CJoySettingPageCtrl :
    public CJoyPageCtrl
{
	DECLARE_DYNAMIC(CJoySettingPageCtrl)
protected:
	//##ModelId=44C4B5DC038C
    virtual CJoyPageContainer* CreateContainer();
public:
	//##ModelId=44C4B5DC038E
    CJoySettingPageCtrl(void);
	//##ModelId=44C4B5DC039A
    virtual ~CJoySettingPageCtrl(void);
public:
    DECLARE_MESSAGE_MAP()
};

#endif  // __SETTINGPAGECTRL_H_CLIENT_MAIN__
